package com.ruoyi.system.service.impl;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.core.domain.entity.SysAITask;
import com.ruoyi.common.utils.BigModelNew;
import com.ruoyi.common.utils.BigModelWeb;
import com.ruoyi.common.utils.ip.AddressUtils;
import com.ruoyi.system.service.ISysAIService;
import com.ruoyi.system.service.ISysQYWXService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class SysQYWXServiceImpl implements ISysQYWXService {
    private static final Logger log = LoggerFactory.getLogger(AddressUtils.class);
    //自然语言 分析提取任务内容
    @Override
    public List<SysAITask> taskAnalysis(String content) throws Exception {
        List<SysAITask> list = new ArrayList<>();


        //sysAITask.setTaskmemo(result);
        return list;
    }

    @Override
    public String chat(String content) throws Exception {

        String result = BigModelWeb.chat(content);

        //sysAITask.setTaskmemo(result);
        return result;
    }

}
